package br.com.proway.conexao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class conexao {

	public Connection getConnection() throws Exception{
		Class.forName("com.mysql.jdbc.Driver");
		// Setup the connection with the DB
		Connection connect = DriverManager
				.getConnection("jdbc:mysql://localhost/proway?user=root&password=");
		
		return connect; 
	}
}
